package com.xsh.gls.mapper;

import com.xsh.gls.pojo.Salesman;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface SalesmanMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Salesman record);

    int insertSelective(Salesman record);

    Salesman selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Salesman record);

    int updateByPrimaryKey(Salesman record);

    Integer selectNewId();

    Salesman selectByIdCard(@Param("SIDCARD")String SIDCARD,@Param("oldSIDCARD")String oldSIDCARD);

    List<Salesman> queryarea(String sAddress);

    String queryareaById(Integer id);
}